package com.example.aistudent.headhunting.controller;

import org.springframework.web.bind.annotation.*;

@CrossOrigin
@RestController
@RequestMapping("/test")
public class testController {

    @GetMapping("/one")
    public String test01(){
        return "get request";
    }
    @PostMapping("/two")
    public String test02(){
        return "post request";
    }
}
